Optimal. Leaf size=34 \[ \frac{2 a c^2 \cos ^3(e+f x)}{3 f (c-c \sin (e+f x))^{3/2}} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0918206, antiderivative size = 34, normalized size of antiderivative = 1., number of steps used = 2, number of rules used = 2, integrand size = 26, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.077, Rules used = {2736, 2673} \[ \frac{2 a c^2 \cos ^3(e+f x)}{3 f (c-c \sin (e+f x))^{3/2}} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 2736
Rule 2673
Rubi steps
\begin{align*} \int (a+a \sin (e+f x)) \sqrt{c-c \sin (e+f x)} \, dx &=(a c) \int \frac{\cos ^2(e+f x)}{\sqrt{c-c \sin (e+f x)}} \, dx\\ &=\frac{2 a c^2 \cos ^3(e+f x)}{3 f (c-c \sin (e+f x))^{3/2}}\\ \end{align*}
Mathematica [B] time = 0.117942, size = 71, normalized size = 2.09 \[ \frac{2 a \sqrt{c-c \sin (e+f x)} \left (\sin \left (\frac{1}{2} (e+f x)\right )+\cos \left (\frac{1}{2} (e+f x)\right )\right )^3}{3 f \left (\cos \left (\frac{1}{2} (e+f x)\right )-\sin \left (\frac{1}{2} (e+f x)\right )\right )} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.375, size = 47, normalized size = 1.4 \begin{align*} -{\frac{ \left ( -2+2\,\sin \left ( fx+e \right ) \right ) c \left ( 1+\sin \left ( fx+e \right ) \right ) ^{2}a}{3\,f\cos \left ( fx+e \right ) }{\frac{1}{\sqrt{c-c\sin \left ( fx+e \right ) }}}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int{\left (a \sin \left (f x + e\right ) + a\right )} \sqrt{-c \sin \left (f x + e\right ) + c}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [B] time = 1.04304, size = 203, normalized size = 5.97 \begin{align*} -\frac{2 \,{\left (a \cos \left (f x + e\right )^{2} - a \cos \left (f x + e\right ) -{\left (a \cos \left (f x + e\right ) + 2 \, a\right )} \sin \left (f x + e\right ) - 2 \, a\right )} \sqrt{-c \sin \left (f x + e\right ) + c}}{3 \,{\left (f \cos \left (f x + e\right ) - f \sin \left (f x + e\right ) + f\right )}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F] time = 0., size = 0, normalized size = 0. \begin{align*} a \left (\int \sqrt{- c \sin{\left (e + f x \right )} + c} \sin{\left (e + f x \right )}\, dx + \int \sqrt{- c \sin{\left (e + f x \right )} + c}\, dx\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int{\left (a \sin \left (f x + e\right ) + a\right )} \sqrt{-c \sin \left (f x + e\right ) + c}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]